<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <link rel="stylesheet" href="/stylesheets/blueprint/blueprint/screen.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="/stylesheets/blueprint/blueprint/print.css" type="text/css" media="print">
    <!--[if IE]><link rel="stylesheet" href="/stylesheets/blueprint/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
    <link rel="stylesheet" href="/stylesheets/budget.css" type="text/css" media="screen, projection, print">
    <link rel="stylesheet" href="/stylesheets/blueprint/blueprint/plugins/buttons/screen.css" type="text/css" media="screen">

    <!--<title>Periods: <%= controller.action_name %></title>-->
    <title><%= h(yield(:title) || "Untitled") %></title>
  </head>
  <body>
    <div class="container">
      <%- if flash[:error] -%>
        <div class="error"><%= flash[:error] %></div>
      <%- end -%>
      <%- if flash[:notice] -%>
        <div class="notice"><%= flash[:notice] %></div>
      <%- end -%>
      <%- if flash[:success] -%>
        <div class="success"><%= flash[:success] %></div>
      <%- end -%>

      <h1><%=h yield(:title) %></h1>
      <hr>
      
      <%= yield  %>

    </div>
  </body>
</html>
